<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/5/22
 * Time: 11:49
 */
namespace App\Models;
use App\Jobs\Elesticsearch;
use App\Services\Log;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\DB;
use App\Models\UserTicket;
use App\Exceptions\ApiException;

/**
 * @param $MobileNo string 注册手机号
 * @param $referee string 推荐人
 * @param $unionid string 微信unionid
 * @param $openid string 微信openid
 * @param $is_offline bool 是否是线下
 * @param $introducer_reward int 是否进行奖励
 * @return array|bool
 */
class WechatUsers extends Model{

    protected $table = 'wechat_users';
    public $timestamps = false;
    protected $primaryKey = 'id';

    public function __construct(array $attributes = [])
    {
        parent::__construct($attributes);
    }
}